package com.woniuxy.hrms.entity;

import java.math.BigDecimal;

/**
 * @program: hrms
 * @description:
 * @create: 2024-08-09 15:26
 **/
public class Account {
    private int id;
    private String accountNo;
    private String accountName;
    private BigDecimal balance;

    public Account() {
    }

    public Account(int id, String accountNo, String accountName, BigDecimal balance) {
        this.id = id;
        this.accountNo = accountNo;
        this.accountName = accountName;
        this.balance = balance;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", accountNo='" + accountNo + '\'' +
                ", accountName='" + accountName + '\'' +
                ", balance=" + balance +
                '}';
    }
}